using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BONSAI.Common;
using BONSAI.Common.DTO;
using BONSAI.DAL;

namespace BONSAI.BLL
{
	public class ServicesBO
	{
		public ServicesDTO GetByID(string id)
		{
			return (new ServicesDAO()).GetByID(id);
		}

		public IList<ServicesDTO> GetAll()
		{
			return (new ServicesDAO()).GetAll();
		}

		public string Insert(ServicesDTO services)
		{
			return (new ServicesDAO()).Insert(services);
		}

		public void UpdateByID(ServicesDTO services)
		{
			(new ServicesDAO()).UpdateByID(services);
		}

		public void DeleteByID(string id)
		{
			(new ServicesDAO()).DeleteByID(id);
		}
	}
}

